

#ifndef __COMMON_H_
#define __COMMON_H_
#include "led.h"
#include "driver/gpio.h"
#include "nvs_flash.h"
#include "esp_system.h"
#include "esp_chip_info.h"
#include "esp_psram.h"
#include "esp_flash.h"
#include "usart.h"
#include "iic.h"
#include "24cxx.h"
#include "ethernet_init.h"
#include "esp_log.h"
#include "esp_check.h"
#include "esp_mac.h"
#include "sdkconfig.h"
#include "beep.h"
#include <stdio.h>
#include <stdlib.h>
#include <sys/reent.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "tinyusb.h"
#include "tusb_cdc_acm.h"
#include "tusb_console.h"
#include <string.h>
#include <assert.h>
#include <sys/stat.h>
#include <dirent.h>
#include <inttypes.h>
#include "freertos/queue.h"
#include "esp_timer.h"
#include "esp_err.h"
#include "usb/usb_host.h"
#include "usb/msc_host.h"
#include "usb/msc_host_vfs.h"
#include "ffconf.h"
#include "errno.h"
#include "dido.h"

extern const uint8_t g_text_buf[];   
#define TEXT_SIZE   sizeof(g_text_buf)              

extern i2c_obj_t i2c0_master;


void Information(void);

void RS485_TxRx2(void);
void RS485_TxRx1(void);
void init_function(void);
void i2c_scan(i2c_obj_t *iic);
void at24cxx_one(void);
void USB_Serial_Slave(void);
void USB_HOST_U(void);
void SDIO_Host(void);
void at24cxx_continue(void);
void DODI_circulate(void);

#endif


